package gameObjects;

public class Pikeman extends Unit{

	public Pikeman(String  player) {
		super(player);
		init();
	}

	@Override
	public String toString() {
		return "Pikeman "+player;
	}

	private void init(){
		switch(this.player){

		case "BLUE":
			imageString= "units\\blue\\pikeman.png";
			break;
		case "ORANGE":
			imageString= "units\\orange\\pikeman.png";
			break;
		default:
			imageString= "units\\blue\\pikeman.png";
			break;
		}

		hp=15;
		damage=2;
		range=2;
		gold= 10;

	}
}
